package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资讯文章
 */
public class CmsArticle extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long articleId;
    private Long categoryId;

    @Excel(name = "标题")
    private String title;

    @Excel(name = "摘要")
    private String summary;

    /** 内容（HTML） */
    private String content;

    /** 封面图URL */
    private String coverUrl;

    /** 发布状态（0草稿 1发布） */
    @Excel(name = "状态", readConverterExp = "0=草稿,1=发布")
    private String publishStatus;

    /** 置顶（0否 1是） */
    private String topFlag;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public Long getArticleId() { return articleId; }
    public void setArticleId(Long articleId) { this.articleId = articleId; }
    public Long getCategoryId() { return categoryId; }
    public void setCategoryId(Long categoryId) { this.categoryId = categoryId; }
    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }
    public String getSummary() { return summary; }
    public void setSummary(String summary) { this.summary = summary; }
    public String getContent() { return content; }
    public void setContent(String content) { this.content = content; }
    public String getCoverUrl() { return coverUrl; }
    public void setCoverUrl(String coverUrl) { this.coverUrl = coverUrl; }
    public String getPublishStatus() { return publishStatus; }
    public void setPublishStatus(String publishStatus) { this.publishStatus = publishStatus; }
    public String getTopFlag() { return topFlag; }
    public void setTopFlag(String topFlag) { this.topFlag = topFlag; }
    public String getDelFlag() { return delFlag; }
    public void setDelFlag(String delFlag) { this.delFlag = delFlag; }
}


